//Created by wangshuyi on 07/03/2018.

'use strict';

//plugin
import core from './core/Dol-core'
import ajax from './ajax/Dol-ajax'
import dict from './dict/Dol-dict'
import util from './util/Dol-util'

//component
import DolDict from './dict/Dol-dict.vue'
import DolLoading from './loading/Dol-loading'

export default {
  install(Vue){
    Vue.prototype.$Dolphin = core;
    Vue.prototype.$ajax = ajax;
    Vue.prototype.$dict = dict;
    Vue.prototype.$util = util;

    Vue.component('dol-dict',DolDict);
    Vue.component('dol-loading',DolLoading);
  }
}
